import { Tag } from "@/entity/Tag";
import { TagDao } from "@/dao/TagDao";
import { Service, Inject } from 'typedi';
import { TagService } from "@/service/TagService";
import { res } from "@/utils/jsonResult";

@Service()
export class TagServiceImpl implements TagService{

    @Inject()
    TagDao!: TagDao

    async Taglist(): Promise<res<Tag[]>> {
       return await this.TagDao.Taglist()
    }
    
}